.cart {
  position: fixed;
  right: 0;
  top: 0;
  height: 100%;
  z-index: 99999;
  .backg {
    position: relative;
    width: 36px;
    height:100%;
    font-family: "Microsoft YaHei";
    background: #262626;
    display: flex;
    flex-direction: column;
    justify-content: center;
    
  }
  p {
    padding: 0;
    margin: 0;
  }
  ul {
    position: relative;
    z-index: 99999999;

    li {
      padding-bottom: 10px;
      background: #262626;
      // icon图标
      position: relative;
      z-index: 99999;
      i {
        font-size: 20px;
        color: #fff;
      }
      .block {
        width: 100%;
        height: 10px;
        position: absolute;
        background: #262626;
      }
      .common {
        color: #fff;
        padding: 10px 0;
      }
      .user {
        // height: 40px;
        //    width: 100%;
        background: #262626;
        text-align: center;
        position: relative;

        .boxx {
          border: 1px solid rgb(211, 211, 211);
          border-radius: 4px;
          overflow: hidden;
          position: absolute;
          border-right: none;
          top: 0;
          left: 0px;
          width: 300px;
          height: 250px;
          transition: left 0.3s;
          z-index: -999;
          .top {
            color: #666;
            height: 148px;
            background: rgb(255, 253, 253);
            padding-top: 20px;
            .imgbox {
              margin: auto;
              margin-bottom: 20px;
              background-image: url("https://u.vpimg1.com/upload/myi/2017/06/01/84/avatar_89373029_1496285287409_66x66_90.jpg");
              background-position: center;
              border: 5px solid #fff;
              width: 70px;
              height: 70px;
              border-radius: 50%;
            }
          }
          .bott {
            height: 100px;
            padding: 10px 0;
            background: #f5f5f5;
            color: #666;
            i {
              color: #999;
              font-size: 25px;
            }
            p {
              margin-top: 10px;
            }
            .left {
              padding-top: 10px;
              width: 50%;
              height: 100%;
              border-right: 1px solid #cdcdcd;
              // background: sienna;
            }
            .right {
              padding-top: 10px;
              width: 49.999%;
            }
          }
        }
      }
      .shopping_bag {
        text-align: center;
        height: 130px;
        background: #df147f;
        p {
          padding: 0 5px;
        }
        span {
          margin-top: 5px;
          display: inline-block;
          border-radius: 50%;
          background: #fff;
          width: 20px;
          height: 20px;
          color: #df147f;
          text-align: center;
          line-height: 20px;
        }
      }
      .iconbox {
        width: 36px;
        background: #262626;
        height: 30px;
        text-align: center;
        line-height: 35px;
      }
      //右边隐藏的小框框
      .right_box {
        height: 30px;
        width: 100px;
        position: absolute;
        top: 0;
        left: 0px;
        z-index: -999;
        border: 1px solid #cdcdcd;
        border-right: none;
        text-align: center;
        line-height: 30px;
        transition: left 0.3s;
        
        background: #f8f8f8;
      }
    }
    li:hover {
      .user,
      .iconbox {
        background: #df147f;
      }
      .right_box {
        left: -100px;
      }
      .boxx {
        left: -300px;
      }
    }
  }
  .drawer{
    
    .line{
      margin-bottom: 15px;
      height: 68px;
      width: 280px;
      .imgbox{
        margin-right: 8px;
        width: 49px;
        height: 61px;
        img{
          width: 100%;
        }
      }
      .size_box{
        font-size: 12px;
        width: 90px;
        height: 68px;
        margin-right: 35px;
        .title{
          margin-bottom: 10px;
          height: 36px;
          overflow: hidden;
        }
      }
      .price_box{
        line-height: 68px;
        .num{
          margin-right: 20px;
        }
        .price{
          color:  #df147f;
          font-weight: 500;
        }
      }
    }
  }
  .button {
    position: absolute;
    bottom: 0;
    background: darkorange;
    z-index: 1000;
  }
}
